<#include "/common/layout.html">
<@header>
</@header>
<@body>

<article class=" type-post format-standard hentry clearfix">

        <h1 class="post-title">
        	<#if project.source=='码云'>
				<img src="/images/osc.png" style="width: 18px;" title="码云" />
			<#elseif  project.source=='GitHub'>
				<i class="fa fa-github" title="GitHub"></i> 
			<#else>
				<i class="fa fa-code"></i> 
			</#if>
        	<a href="${project.detailUrl}" target="_blank">${project.prjName?split('/')[1]}</a>
        	<span class="label label-success">${project.lang}</span>
        </h1>

        <div class="post-meta clearfix">
                <span class="date">${project.lastUpdateTimeFmt}</span>
                 <#list project.tags?split(",") as tag>
                  <span class="category"><a href="#">${tag}</a></span>
				 </#list>
                <span class="like-count">
	                <!-- <i class="fa fa-git"></i> 
	                <i class="fa fa-github"></i> 
	                <i class="fa fa-thumbs-o-up"></i>  -->
	                <i class="fa fa-star"></i> ${project.starFmt}
	            </span>
        </div><!-- end of post meta -->

        ${project.readme}

</article>

<div class="like-btn">

        <form id="like-it-form" action="#" method="post">
                <span class="like-it ">
                 <i class="fa fa-thumbs-o-up"></i> 
                100%</span>
                <input type="hidden" name="post_id" value="99">
                <input type="hidden" name="action" value="like_it">
        </form>
        
        <div class="input-prepend">
		  <button class="btn btn-success" type="button">仓库地址</button>
		  <input class="span2" type="text" style="width: 80%;font-weight: 900;" value="${project.detailUrl}.git">
		</div>
		        
        <hr>

        <span class="tags">
                <strong>标签:&nbsp;&nbsp;</strong>
                 <#list project.tags?split(",") as tag>
                	<a href="/s?tag=${tag}" rel="tag">
                		<span class="label">${tag}</span>
                	</a>&nbsp;&nbsp;
				 </#list>
        </span>

</div>
<p>
	 <strong>原文链接:&nbsp;&nbsp;<a href="${project.detailUrl}" target="_blank">${project.detailUrl}</a></strong>
</p>
 </@body> 
 <@footer>
 </@footer>
